Dynamic Web Panels in Present Pro

Add a panel to your slide that displays a web page when the presentation is launched at runtime. This page can be static, displaying the content at a given URL, or can be dynamic, responding to user selections from slicers or visuals at runtime. A dynamic panel is enabled using a PQL expression that describes the action to take when a slice or visual element is selected. For example, the URL can be redirected to a country-specific page in response to a country name being selected from a slicer.

Tip: Web panels typically provide supporting information that accompanies the analytic information that your visuals represent with third-party, non-analytic, content from the internet. These panels may help your user to understand the analytic information on your slide or may provide some administrative or other information that is available from the internet.

Configure Web Panels

You can add web panels to your presentation that either embed a simple web page in your slide (a basic web panel that uses a URL to locate and display a page), or that include a PQL Action expression which your user can use to affect the web panel dynamically at runtime. The first step produces the basic web panel.

Step 1: Add a basic web panel

From the Toolbox:

  1. Click Web Page Illustration (yellow arrow).
  2. Click the canvas at the point where you would like to add your web panel.
  3. A standard-sized panel is added to the canvas.

  4. Right-click the panel and select Dynamic Url from the context menu.
  5. The Dynamic URL panel opens at the bottom of the page.

  6. In the main text field, enter your URL within "double quotation marks."
  7. Note: Your URL needs to be contained within "double quotation marks" and needs to include the URL scheme (http or https). If you are creating a dynamic web panel, you will also add the relevant function here at a later stage.

  8. Click Validate to test the URL.
  9. Once a success message opens, click Apply to save your function.

Your URL is saved. When you launch the presentation at runtime, your panel is embedded in the slide. You can check that the correct URL is displayed at runtime by clicking the Run button or F2 on your keyboard for a preview.

Step 2: Format your web panel (optional)

Once you've added a web panel to your slide, you might want to resize it, move it to a more appropriate location on the canvas, and so on. As with any other content item, you can use the standard editing options on the right-click menu and on the canvas to align and distribute web panels with other visuals or text fields, and to drag, rotate, and resize the panel.

  • Click here for more information about editing items on your canvas

Step 3: Create your dynamic function

This step describes how to incorporate a PQL expression into your web panel. This function indicates what should happen when your users interact with the web panel at runtime by selecting options from a slicer or by selecting the hierarchies or member elements in a visual. Expressions are built using Common functions and functions from the PQL Action library.

  • Click here to see the available PQL Action library
  • Click here to see the common PQL library

Select the basic web panel that you created previously:

  1. Right-click the panel and select Dynamic Url from the context menu.
  2. The Dynamic Url panel opens at the bottom of the page. It contains a Dynamic URL contained by double quotation marks.

  3. Add the function that drives the interactive behavior to the URL field. This example concatenates the URL and the captions (selected member element name):
  4. Tip: You can see a description of each available function, including syntax, by hovering your cursor over the item in the Functions tree. You can also double-click the function in the tree to copy it into the URL panel.

  5. Once you are happy with your function, Validate and Apply it and then Save your presentation.

Step 4: Add an interaction to the web panel

Although you have defined and validated your PQL function, the interaction between the slicer or visual and the content of the web panel will not work until you have created an Interaction between the slicer or visual and the target web panel.

Note: The interaction must be added after the dynamic function is configured in the web panel (previous step).

  • Click here for more information about interactions
  1. There are two options for creating your interaction:
    • If Auto Interact (Presentation ribbon) is enabled when you add a new slicer or visual to your canvas, a new interaction is automatically created between the new slicer or visual and your existing web panel. This is the default behavior.
    • Tip: Click Show Interactions on the Presentation ribbon to view the interactions targeting the web panel. In the following example, the direction of the interaction arrow indicates that changes to the visual will affect the web panel.

    • Alternatively, select the Interaction Picker in the Toolbox (purple arrow), click the slicer or visual that you want to affect the web panel and drag your cursor to the web panel to create the interaction:
    • Note: In this second example, there are two interactions: (1) between the slicer and the web panel and (2) between the slicer and a visual containing a pie chart. This means that selecting a slice will affect the content of both the web panel and the visual.

  2. Save your presentation.

Step 5: Runtime cross-highlighting

You should always check that your changes have the effect you intended. Open the presentation at runtime, by clicking Run or F2, and update the options on your slicer or visual to check that the contents of the web panel respond as expected:

  • If you created an interaction between a visual and your web panel, you can either select the hierarchies or member elements in the visual or select those same options and then right-click Interact to update the web panel with reference to your selection.
  • If you created an interaction between a slicer and your web panel, you can select a different slice from your slicer to update the web panel with your selection.
  • Click here to learn more about runtime interactivity

Dynamic web panel examples